var express = require('express');
var router = express.Router();
var models = require('../models')
var Op = models.Sequelize.Op

/* GET channels listing. */
router.get('/', async function (req, res, next) {
    try {
        var headers = await models.Header.findAll()
        res.json({ headers })
    } catch (e) {
        console.log(e);
    }
});

module.exports = router;
